package com.peas.platform.module.icims.expenditure.disbursement.dto;

import java.util.*;
import java.math.*;
import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 国库支付令
@Data
@EqualsAndHashCode(callSuper = false)
public class ExpenditureTreasuryDto extends BaseDto {

    // 支付令类型
    // 枚举取值:ExpenditureTreasuryType
    @Comment(value = "支付令类型", enumType = "ExpenditureTreasuryType")
    @Condition(operator = ConditionOperator.IN)
    private String treasuryType;

    // 支付令编码
    // 自动生成
    @Comment(value = "支付令编码")
    @Condition(operator = ConditionOperator.IN)
    private String treasuryCode;

    // 支付令名称
    @Comment(value = "支付令名称")
    private String treasuryName;

    // 申请日期
    @Comment(value = "申请日期")
    private Date applicationDate;

    // 申请人部门ID
    // （组织架构表）外键
    @Comment(value = "申请人部门ID")
    private Long applicationOrganizationId;

    // 申请人用户ID
    // （用户表）外键
    @Comment(value = "申请人用户ID")
    private Long applicationUserId;

    // 申请金额
    @Comment(value = "申请金额")
    private BigDecimal amount;

    // 状态
    // 枚举取值:ExpenditureTreasuryState
    @Comment(value = "状态", enumType = "ExpenditureTreasuryState")
    @Condition(operator = ConditionOperator.IN)
    private String state;

    // 收款类型
    // 收款单位、公务卡
    // 枚举取值:ExpenditureReimbursementPayeeType
    @Comment(value = "收款类型", enumType = "ExpenditureReimbursementPayeeType")
    @Condition(operator = ConditionOperator.IN)
    private String payeeType;

    // 资金往来对象类别
    @Comment(value = "资金往来对象类别")
    private String fundDealings;

    // 资金类型
    @Comment(value = "资金类型")
    private String fundType;

    // 单位内部机构
    // 文本输入
    @Comment(value = "单位内部机构")
    private String innerOrg;

    // 支付方式(国库)
    @Comment(value = "支付方式(国库)")
    private String payType;

    // 结算方式
    @Comment(value = "结算方式")
    private String settleType;

    // 支付业务类型
    @Comment(value = "支付业务类型")
    private String businessType;

    // 国库支付令号
    @Comment(value = "国库支付令号")
    private String exchequer;

    // 国库支付令消息
    @Comment(value = "国库支付令消息")
    private String exchequerMessage;

    // 摘要
    @Comment(value = "摘要")
    private String summary;

    // 备注
    @Comment(value = "备注")
    private String remark;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
    private Date applicationDateStart;
    private Date applicationDateEnd;
}
